function list = readInstructionsTextFile(txtfile)

% open file
%fprintf('txtfile %s\n', txtfile);
fid = fopen(txtfile,'r');



% The first line in the file is not used.
j=2;
tline = fgetl(fid);
list = {};
% Step through line by line finding excerpt numbers.
while 1
  
  % Get the line
  tline = fgetl(fid);
  disp(tline)
  if ~ischar(tline), break, end
  s = findstr(tline,' ');
  Familiar = tline(s(2)+1:s(3)-1); % Fam Value
  Preference = tline(s(4)+1:s(5)-1); % Pref Value
  
  exc = tline(s(6)+1:s(7)-1);
   % Parse excerpt number to a filename
   if strcmp(exc,'s') continue, end
  fn = readExcerpts(exc);
  list{j , 2} = fn;
  list{j, 3} = exc;
  list{j,4}  = Familiar;
  list{j,5}  = Preference;
  list{j,6}  = j;
  
  % Create the audio filename corresponding
  str = sprintf('-%02d--Loudness',j-1);
  file = strrep(txtfile,'-Loudness',str);
  file = strrep(file,'.txt','.aiff');
  list{j, 1} = file;
  
  
 
  
  % Next please
  j = j +1 ;
  
end
fclose(fid);


% Open 


